#include <my_header.h>

/* Usage: ./11_uid_gid */
int main(void){                                  
    // 真是用户ID和真是组ID
    printf("**真实用户ID**和**真实组ID**");
    printf("current process uid :%d\n", getuid());
    printf("current process gid :%d\n", getgid());
   
    // 有效用户ID和有效组ID
    printf("**有效用户ID**和**有效组ID**");
    printf("current effective process euid :%d\n", geteuid());
    printf("current effective process egid :%d\n", getegid());
    return 0;
}


